<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="../css/my.css"/>
<title>修改信息</title>

</head>
<body >
	<form action="<%=basePath %>seller/updateSeller.do" method="post" enctype="multipart/form-data" >	
     	<div class="big">
				<div class="head"><h2>修改个人信息</h2></div>
				<input type="hidden" name="uid" value="${seller.uid}">
				<div class="main">
					<div class="main_left">
						<ul style="list-style: none;">
							<li>用户名：</li>
							<li>原密码：</li>
							<li>新密码：</li>
							<li>头像：</li>
							<li id="left_li">头像审核状态：</li>
						</ul>
					</div>
					<div class="main_right">
						<ul style="list-style: none;">
							<li><input type="text" name="uname" value="${seller.uname}" readonly="true"></li>
							<li><input type="text" placeholder="请输入原密码" name="upassword" value="${seller.upassword}" readonly="true"></li>
							<li><input type="text" placeholder="请输入新密码" name="newPassword" value=""></li>
							<li id="pic">
								<c:if test="${seller.upicture!=null}">
			    					<img src="${seller.upicture}" width="70px" height="70px"/>
			    				</c:if>
			    				<input type="hidden" name="upicture" value="${seller.upicture}">
		    					<input type="file" name="myPic"/>
							</li>
							<li  id="statue">
								<c:if test="${seller.utype==null}">
			    					未提交审核
			    				</c:if>
			    				<c:if test="${seller.utype==0}">
			    					提交审核
			    				</c:if>
			    				<c:if test="${seller.utype==1}">
			    					通过审核
			    				</c:if>
							</li>
						</ul>
						
					</div>
				</div>
				<div class="footer">
					<input class="bt1" type="submit" value="修改">
				</div>
			
		</div>
    </form>
</body>
</html>
